export interface IOperator {
    onDragStart(event: any): void;
    onDragMove(event: any): void;
    onDragMoveEnd(event: any): void;
    onHover(event: any): void;
    updateOperateBar(visible: boolean): void;
}

export interface IMode extends IOperator {
    onEnter(): void;
    onLeave(): void;
}